A legal defense claiming that a person was unable to understand the nature of their actions or distinguish right from wrong at the time of committing a crime due to a mental disorder or extreme emotional disturbance, but that this condition was not permanent.